package org.jeecg.modules.procurement.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.procurement.entity.BussMaterialPriceDetail;
import org.jeecg.modules.procurement.mapper.BussMaterialPriceDetailMapper;
import org.jeecg.modules.procurement.service.IBussMaterialPriceDetailService;
import org.jeecg.modules.procurement.vo.BussMaterialPriceDetailVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 原料价格执行表明细
 * @Author: jeecg-boot
 * @Date:   2024-06-13
 * @Version: V1.0
 */
@Service
public class BussMaterialPriceDetailServiceImpl extends ServiceImpl<BussMaterialPriceDetailMapper, BussMaterialPriceDetail> implements IBussMaterialPriceDetailService {
	
	@Autowired
	private BussMaterialPriceDetailMapper bussMaterialPriceDetailMapper;
	
	@Override
	public List<BussMaterialPriceDetailVo> selectByMainId(String mainId) {
		return bussMaterialPriceDetailMapper.selectByMainId(mainId);
	}
}
